/**
 * Sep 12, 2013 8:57:56 AM
 * com.kratonsolution.belian.security.api.dm
 * UserService.java
 */
package com.kratonsolution.belian.security.api.service;

import com.kratonsolution.belian.kernel.service.CRUDService;
import com.kratonsolution.belian.security.api.dm.User;

/**
 * @author Agung Dodi Perdana
 * @email agung.dodi.perdana@gmail.com
 * @Version Sinch 0.0.1
 */
public interface UserService extends CRUDService<User>
{
    public boolean signin(String email,String password);
    
    public boolean signout(String email);
    
    public User load(String email,String id);
    
    public User loadByEmail(String email,String loaded_email);
    
    public boolean changePassword(String email,String oldPassword,String newPassword1,String newPassword2);
}
